/*-- The Animation Field of a chart --*/
package org.quantitativesustainability.dataStructures
{
    import mx.collections.ArrayCollection;

    public class AField
    {
        public var array:ArrayCollection;
        public var index:int;
        public var label:String;

        public function AField()
        {
            array=new ArrayCollection();
            index=0;
            label='';
        }

        public function setData(a:ArrayCollection):void
        {
            array=new ArrayCollection(a.source);
        /*
           for (var i:int=0; i < a.length; ++i)
         array_a.addItem(a[i]); */
        }
    }
}